
package com.jf.cloud.product.model;

import com.jf.cloud.common.model.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
/**
 * 出入库原因
 *
 * @author zz
 * @date 2022-06-22 16:57:27
 */
public class StockChangeReason extends BaseModel implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long stockChangeReasonId;

    /**
     * 出入库类别，1：出库 2：入库
     */
    private Integer type;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 状态，1：启用 0：禁用 -1：删除
     */
    private Integer status;

    @Schema(description = "原因")
    private String reason;

    @Schema(description = "备注")
    private String remark;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getStockChangeReasonId() {
        return stockChangeReasonId;
    }

    public void setStockChangeReasonId(Long stockChangeReasonId) {
        this.stockChangeReasonId = stockChangeReasonId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "StockChangeReason{" +
                "stockChangeReasonId=" + stockChangeReasonId +
                ",type=" + type +
                ",shopId=" + shopId +
                ",status=" + status +
                '}';
    }
}
